home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / dragonball-kart.swf / scripts / frame_21 / PlaceObject2_417_1048 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2011-10-17  |  432 b   |  25 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.nowball == 7)
  3.    {
  4.       i = 1;
  5.       while(i <= 7)
  6.       {
  7.          _root["br" + i]._alpha -= 10;
  8.          if(_root["br" + i]._alpha <= 50)
  9.          {
  10.             _root["br" + i]._alpha = 100;
  11.          }
  12.          i++;
  13.       }
  14.    }
  15.    if(_root.stage == 6)
  16.    {
  17.       t++;
  18.       if(t >= 500)
  19.       {
  20.          _root.finij.gotoAndStop("ask");
  21.          t = 0;
  22.       }
  23.    }
  24. }
  25.